Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Styles Class / CreateGradientFill Method / CreateGradientFill(Double,GradientStop[]) Method
A System.Double value indicates the angle of the linear gradient.
A GradientStop array indicates the gradient stops.


In This Topic
CreateGradientFill(Double,GradientStop[]) Method
In This Topic
Creates the linear gradient fill.
Syntax
'Declaration
 
Public Overloads Function CreateGradientFill( _
   ByVal degree As Double, _
   ByVal gradientStops() As GradientStop _
) As Fill
 
'Usage
 
Dim instance As Styles
Dim degree As Double
Dim gradientStops() As GradientStop
Dim value As Fill
 
value = instance.CreateGradientFill(degree, gradientStops)

Parameters

degree
A System.Double value indicates the angle of the linear gradient.
gradientStops
A GradientStop array indicates the gradient stops.

Return Value

A Fill value represents the created gradient fill.
See Also